package com.itheima.service;

import com.itheima.common.R;
import com.itheima.entity.Employee;
import com.itheima.entity.Page;

public interface EmployeeService {
    R<Employee> login(Employee employee);
    //薄唇用户
    void save(Employee employee);

    Page<Employee> findByPage(Integer page, Integer pageSize, String name);

    void update(Employee employee);

    R<Employee> findById(long id);
}
